package com.taxshare.seller.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName: SellerRuleTemplateEntity
 * @Description:
 * @author: Hai
 * @date: 2021/7/5 11:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_RULE_TEMPLATE)
@ApiModel(description = "规则模板")
public class SellerRuleTemplateEntity extends BaseEntity implements Serializable {

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @ApiModelProperty("规则名称")
    @TableField("rule_name")
    private String ruleName;

    @ApiModelProperty("拆分规则")
    @TableField("rule_split")
    private String ruleSplit;

    @ApiModelProperty("合并规则")
    @TableField("rule_merge")
    private String ruleMerge;

    @ApiModelProperty("购方税号")
    @TableField("purchaser_tax_no")
    private String purchaserTaxNo;

    @ApiModelProperty("销方税号")
    @TableField("seller_tax_no")
    private String sellerTaxNo;

    @ApiModelProperty("创建时间")
    @TableField("create_time_str")
    private String createTimeStr;

    @ApiModelProperty("修改时间")
    @TableField("update_time_str")
    private String updateTimeStr;

    @ApiModelProperty("创建用户名字")
    @TableField("create_user_name")
    private String createUserName;
}
